<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>

<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title><decorator:title default="Maps" />
		</title>
		<%@ include file="/commons/meta.jsp"%>
		<link href="<c:url value='/styles/admin.css'/>"              rel="stylesheet" type="text/css" media="all" />
		<link href="<c:url value='/styles/admin-colors-fresh.css'/>" rel="stylesheet" type="text/css" media="all" />		
		<link href="<c:url value='/styles/admin-global.css'/>"       rel="stylesheet" type="text/css" media="all" />		
		<link href="<c:url value='/styles/thickbox.css'/>"           rel="stylesheet" type="text/css" media="all" />	
				
		<!--[if lte IE 6]>
		<style type="text/css" media="all">@import "<c:url value='/styles/admin-ie6.css' />";</style>
		<![endif]-->
		<!--[if gt IE 7]>
		<style type="text/css" media="all">@import "<c:url value='/styles/admin-ie7.css' />";</style>
		<![endif]-->		
		<decorator:head />

	</head>

	<body onunload="unload()" class="wp-admin">

		<div id="wpwrap" >
			<div id="wpcontent" >
				<div id="wphead" >
					<h1>
						ideamaps
						<span id="viewsite">
							<a href="${BASEURL}" target="_blank">浏览网站</a>
						</span>
					</h1>
				</div>
				<div id="user_info">
					<p>
						你好,
						<a href="${BASEURL}/admin/user/profile.jspa">${userSession.screenName }</a>
						<a title="退出" href="${BASEURL}/logout">退出</a> 
					</p>
				</div>


				<ul  id="adminmenu">
	
					<c:if test="${userSession.admin || userSession.parentAdmin}">
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="sellerManage" href="${CPATH}/admin/user/list_seller.jspa">商家</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="memberManage" href="${CPATH}/admin/user/list_member.jspa">会员</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="groupManage" href="${CPATH}/admin/group/list.jspa">群组</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="voucherManage" href="${CPATH}/admin/voucher/list.jspa">消费券</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="cooperationManage" href="${CPATH}/admin/taxonomy/cooperation_tag_list.jspa">商家合作</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="discoverManage" href="${CPATH}/admin/taxonomy/discover_tag_list.jspa">发现</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="contentManage" href="${CPATH}/admin/content/index.jspa">内容管理</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="settings" href="${CPATH}/admin/settings">设置</tail:tab>
					</c:if>	
					
					<c:if test="${userSession.seller|| userSession.parentSeller}">
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="sale" href="${CPATH}/admin/sale/index.jspa">购物通道</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="productManage" href="${CPATH}/admin/product/list.jspa">商品</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="memberManage" href="${CPATH}/admin/card/members.jspa">会员</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="voucherManage" href="${CPATH}/admin/voucher/list.jspa">消费券</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="cooperationManage" href="${CPATH}/admin/cooperation/list.jspa">商家合作</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="orderManage" href="${CPATH}/admin/order/list.jspa?type=1">交易</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="storeManage" href="${CPATH}/admin/bulletin/list.jspa">店铺管理</tail:tab>
					<tail:tab currentTag="a" currentType="class" tab="${cpanelTab}" value="settings" href="${CPATH}/admin/user/list_operator.jspa">设置</tail:tab>
					</c:if>
				</ul>	
				
				<ul id="submenu">
					<c:if test="${userSession.seller || userSession.parentSeller}">
						<c:if test="${cpanelTab=='blogManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="blog"         href="${BASEURL}/admin/node/blog_list.jspa" >文章</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="blogCategory" href="${BASEURL}/admin/taxonomy/blog_category_list.jspa" >类型</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='voucherManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="voucher" href="${BASEURL}/admin/voucher/list.jspa" >消费券</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="voucherThirds" href="${BASEURL}/admin/voucher/thirds.jspa" >代发消费券</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='productManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="product" href="${BASEURL}/admin/product/list.jspa" >商品</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="productCategory"     href="${BASEURL}/admin/product/category/list.jspa">类型</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='memberManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="member" href="${BASEURL}/admin/card/members.jspa" >我的会员</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="card"   href="${BASEURL}/admin/card/list.jspa" >会员卡</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="cardIssue"      href="${BASEURL}/admin/card/issue.jspa">新办会员卡</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="add_balance" href="${BASEURL}/admin/card/balance/add.jspa">冲值</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="balance_events" href="${BASEURL}/admin/card/balance/events.jspa">会员卡余额变化历史</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="saleforce" href="${BASEURL}/admin/saleforce/list.jspa">营销人员</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='cooperationManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="all"     href="${BASEURL}/admin/cooperation/list.jspa">现有商家合作</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="app_history"     href="${BASEURL}/admin/cooperation/app_history_list.jspa">申请历史</tail:tab>
							
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="my" href="${BASEURL}/admin/cooperation/my_list.jspa" >我发起的</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="joined"  href="${BASEURL}/admin/cooperation/joined_list.jspa">我加入的</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="favorite"     href="${BASEURL}/admin/cooperation/favorite_list.jspa">我观注的</tail:tab>
						</c:if>
						
						
						
						<c:if test="${cpanelTab=='orderManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="business" href="${BASEURL}/admin/order/list.jspa?type=1">交易查询</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="order" href="${BASEURL}/admin/order/list.jspa?type=2">订单查询</tail:tab>
						</c:if>
						
						
						<c:if test="${cpanelTab=='storeManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="bulletin" href="${BASEURL}/admin/bulletin/list.jspa">公告</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="pointRule" href="${BASEURL}/admin/point-rule/list.jspa">积分策略</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="commend" href="${BASEURL}/admin/commend/list.jspa">产品推荐</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="poll" href="${BASEURL}/admin/poll/list.jspa">投票</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="exchangeAd" href="${BASEURL}/admin/store/exchange_ad.jspa">交换广告设置</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="album" href="${BASEURL}/admin/album/photo/list.jspa">相册</tail:tab>
						</c:if>
						
						
						<c:if test="${cpanelTab=='myAccount'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="userProfile" href="${BASEURL}/admin/user/profile.jspa">帐号信息</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="storeProfile" href="${BASEURL}/admin/store/profile.jspa">店铺资料</tail:tab>
						</c:if>
						<c:if test="${cpanelTab=='settings'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="operator" href="${BASEURL}/admin/user/list_operator.jspa">操作员</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="operator" href="${BASEURL}/admin/role/list.jspa">角色</tail:tab>						
						</c:if>
					</c:if>
	
				
					<!-- admin -->
					<c:if test="${userSession.admin || userSession.parentAdmin}">
						<c:if test="${cpanelTab=='contentManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="index"     href="${BASEURL}/admin/content/index.jspa">城市</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="content" href="${BASEURL}/admin/content/list.jspa" >内容定义</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='settings'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="province" href="${BASEURL}/admin/settings/province/list.jspa" >省</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="city"     href="${BASEURL}/admin/settings/city/list.jspa">城市</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="keyindex" href="${BASEURL}/admin/settings/keyindex/list.jspa" >搜索关键字</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="custlist" href="${BASEURL}/admin/settings/custlist/list.jspa">自定义列表</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="personInterest" href="${BASEURL}/admin/taxonomy/person_interest_list.jspa">个人爱好</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="authority" href="${BASEURL}/admin/authority/list.jspa">授权</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="role"      href="${BASEURL}/admin/role/list.jspa">角色</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='sellerManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="regapp" href="${BASEURL}/admin/user/regapp/list.jspa" >申请注册</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="seller" href="${BASEURL}/admin/user/list_seller.jspa" >商家</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="businessCategory" href="${BASEURL}/admin/taxonomy/business_category_list.jspa" >商业类型</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="businessTag" href="${BASEURL}/admin/taxonomy/business_tag_list.jspa" >商业标签</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='memberManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="member" href="${BASEURL}/admin/user/list_member.jspa" >会员</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="card" href="${BASEURL}/admin/card/list.jspa" >会员卡</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='groupManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="group" href="${BASEURL}/admin/group/list.jspa" >群组</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="groupCategory" href="${BASEURL}/admin/taxonomy/group_category_list.jspa" >类型</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="groupTag" href="${BASEURL}/admin/taxonomy/group_tag_list.jspa" >标签</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='cooperationManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="cooperationTag" href="${BASEURL}/admin/taxonomy/cooperation_tag_list.jspa" >标签</tail:tab>
						</c:if>
						
						<c:if test="${cpanelTab=='voucherManage'}">
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="voucher" href="${BASEURL}/admin/voucher/list.jspa" >消费券</tail:tab>
							<tail:tab currentTag="a" currentType="class" tab="${leftTab}" value="voucherTag" href="${BASEURL}/admin/taxonomy/voucher_tag_list.jspa" >标签</tail:tab>
						</c:if>
					</c:if>

				</ul>
				
				
				
				<div id="wpbody" >
					<div class="wrap" >
						<s:actionerror   theme="custom" template="actionerror.ftl"/>
						<s:actionmessage theme="custom"/>				
						<decorator:body />
					</div>
					<!-- wpbody -->
				</div>
				<!-- wpcontent -->
			</div>
		
		

		<div id="footer">
		<p>优联</p>
		</div>
		
		


	</body>
</html>
